﻿using System;
using System.Runtime.Serialization;

namespace Cognize.GoogleSearchAPIIntegration
{
    [DataContract]
    public class Cursor
    {
        private Pages[] _pages;
        private int _estimatedResultCount;
        private int _currentPageIndex;  
        private int _responseStatus;

        private string _moreResultsUrl;
        private string _responseDetails;

        [DataMember]
        public Pages[] pages
        {
            get {return _pages;}
            set {_pages = value;}
        }

        [DataMember]
        public int estimatedResultCount
        {
            get {return _estimatedResultCount;}
            set { _estimatedResultCount = value; }
        }

        [DataMember]
        public int currentPageIndex
        {
            get { return _currentPageIndex; }
            set { _currentPageIndex = value; }
        }

        [DataMember]
        public string moreResultsUrl
        {
            get { return _moreResultsUrl; }
            set { _moreResultsUrl = value; }
        }

        [DataMember]
        public string responseDetails
        {
            get { return _responseDetails; }
            set { _responseDetails = value; }
        }

        [DataMember]
        public int responseStatus
        {
            get { return _responseStatus; }
            set { _responseStatus = value; }
        }
    }
}
